基础环境安装与使用

基础环境的安装与使用

目标

库的安装

新建一个用于人工智能环境的虚拟环境

mkvirtualenv ai
matplotlib==2.2.2
numpy ==1.14.2
pandas==0.20.3
tables==3.4.2
jupyter==1.0.0

Jupyter Notebook使用

运行Jupyter notebook

cell操作

快捷键

两种模式通用快捷键

命令模式:按ESC进入

其他:

编辑模式

其他

Jupyter notebook中自动补全代码等相关功能

安装jupyter_contrib_nbextensions库

python -m pip installl jupyter_contrib_nbextensions

然后执行

jupyter contrib nbextension install --user --skip-running-check

在原来的基础上勾选:“Table of Contents”以及Hinterland